package Components 
{
	import flash.geom.Vector3D;
	import nl.jorisdormans.phantom2D.objects.GameObject;
	import nl.jorisdormans.phantom2D.objects.renderers.BoundingShapeRenderer;
	import nl.jorisdormans.phantom2D.objects.shapes.BoundingPolygon;
	/**
	 * ...
	 * @author Sebastiaan
	 */
	public class ChopperForm extends GameObject
	{
		private var player : BoundingPolygon;
		
		public function ChopperForm() 
		{
			player = 	new BoundingPolygon(new Vector3D(0, 0), new Vector3D( -13.32, 10), new Vector3D(0, 20),
						new Vector3D(6.40, 20), new Vector3D(6.40, -14), new Vector3D( -5, -15), new Vector3D( -5, -15), new Vector3D(18.32, -15), new Vector3D(18.32, -14), 
						new Vector3D(6.66, -14), new Vector3D(6.66, 20),new Vector3D(13.32, 20), new Vector3D(24.64, 10), new Vector3D(13.32, 0), new Vector3D(0, 0),
						new Vector3D( -13.32, 9), new Vector3D( -40, 9), new Vector3D( -40, -5), new Vector3D( -30, 10), new Vector3D( -13.32, 10), new Vector3D(0, 0));
			addComponent(player);
			addComponent(new BoundingShapeRenderer(0xFF8000));
			this.doResponse = false;
		}
		
	}

}